package com.yunshipei.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class AppData implements Serializable {

    @SerializedName("data")
    public Data data;

    public static class Data {
        @SerializedName("state")
        public int initState;
        @SerializedName("company")
        public Company company;
        @SerializedName("user")
        public UserInfo userInfo;
        @SerializedName("homepage")
        public String homePage;
        @SerializedName("companyTitle")
        public String companyTitle;
        @SerializedName("vpns")
        public List<VPNInfo> vpns;
        @SerializedName("token")
        public String token;
        @SerializedName("ssos")
        public List<SSOSModel> ssosModels;
        @SerializedName("topId")
        public String topId;
        @SerializedName("uuid")
        public String uuid;
        @SerializedName("datajsApps")
        public DataJSApps dataJSApps;
        @SerializedName("managedSingleSignOn")
        public ManagedSingleSignOn managedSingleSignOn;
        @SerializedName("managerCode")
        public int managerCode;

        public static class DataJSApps {
            @SerializedName("groupList")
            public List<GroupList> groupList;


            public static class GroupList {
                @SerializedName("apps")
                public List<HomeAppsBean> homeAppsBeans;
            }

            @SerializedName("incrementalVersions")
            public AppIncremental appIncremental;

            public static class AppIncremental {
                @SerializedName("enterplorerHomepage")
                public EnterplorerHomepage enterplorerHomepage;
                @SerializedName("enterplorerPadHomepage")
                public EnterplorerPadHomePage enterplorerPadHomePage;
                @SerializedName("enterplorerAddressBookpage")
                public EnterplorerAddressBookpage enterplorerAddressBookpage;
                @SerializedName("enterplorerMepage")
                public EnterplorerMepage enterplorerMepage;

                public static class EnterplorerMepage {
                    @SerializedName("incrementalVersion")
                    public int incrementalVersion;
                    @SerializedName("downloadUrl")
                    public String downloadUrl;
                }

                public static class EnterplorerAddressBookpage {
                    @SerializedName("incrementalVersion")
                    public int incrementalVersion;
                    @SerializedName("downloadUrl")
                    public String downloadUrl;
                }

                public static class EnterplorerPadHomePage {
                    @SerializedName("incrementalVersion")
                    public int incrementalVersion;
                    @SerializedName("downloadUrl")
                    public String downloadUrl;
                }

                public static class EnterplorerHomepage {
                    @SerializedName("incrementalVersion")
                    public int incrementalVersion;
                    @SerializedName("downloadUrl")
                    public String downloadUrl;
                }

                @SerializedName("applications")
                public List<HomePageApps> applications;

                public static class HomePageApps {
                    @SerializedName("downloadUrl")
                    public String downloadUrl;
                    @SerializedName("appId")
                    public String appId;
                    @SerializedName("version")
                    public String version;
                }
            }
        }
    }
}

